package com.suning.sawp.po.customer;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * 
 * 〈外拓地址任务表〉<br>
 * 〈功能详细描述〉
 *
 * @author 12061748
 * @see [相关类/方法]（可选）
 * @since [产品/模块版本] （可选）
 */
@Entity(name = "TASK_OUT_ADDR")
public class OutAddrBean implements Serializable {
    /**
     * serialVersionUID
     */
    private static final long serialVersionUID = 7378045184066619671L;
    /**
     * 任务id
     */
    private Long taskId;
    /**
     * 关联活动id
     */
    private Long actId;
    /**
     * 任务地点名称
     */
    private String addrName;
    /**
     * 任务开始时间
     */
    private String startTime;
    /**
     * 任务结束时间
     */
    private String endTime;
    /**
     * 门店4位财务编码
     */
    private String storeCode;
    /**
     * 创建店员工号
     */
    private String staffCode;
    /**
     * 创建店员姓名
     */
    private String staffName;

    /**
     * 任务发展会员目标人数
     */
    private Integer destNum;
    /**
     * 任务发展会员已发展人数
     */
    private Integer compNum;
    /**
     * 任务创建时间
     */
    private String createTime;
    /**
     * 任务更新时间
     */
    private String updateTime;

    /**
     * 状态（非数据库字段）
     */
    private String status;

    /**
     * 店员子任务
     */
    private List<ClerkOutAddrBean> clerkOutAddrTasks;

    /**
     * 是否可以编辑
     */
    private Boolean editable = false;

    @Id
    @Column(name = "TASK_ID")
    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    @Column(name = "ACT_ID")
    public Long getActId() {
        return actId;
    }

    public void setActId(Long actId) {
        this.actId = actId;
    }

    @Column(name = "ADDR_NAME")
    public String getAddrName() {
        return addrName;
    }

    public void setAddrName(String addrName) {
        this.addrName = addrName;
    }

    @Column(name = "DEST_NUM")
    public Integer getDestNum() {
        return destNum;
    }

    public void setDestNum(Integer destNum) {
        this.destNum = destNum;
    }

    @Column(name = "COMP_NUM")
    public Integer getCompNum() {
        return compNum;
    }

    public void setCompNum(Integer compNum) {
        this.compNum = compNum;
    }

    @Column(name = "START_TIME")
    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    @Column(name = "END_TIME")
    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Column(name = "STORE_CODE")
    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    @Column(name = "STAFF_CODE")
    public String getStaffCode() {
        return staffCode;
    }

    public void setStaffCode(String staffCode) {
        this.staffCode = staffCode;
    }

    @Column(name = "STAFF_NAME")
    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    @Column(name = "CREATE_TIME")
    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    @Column(name = "UPDATE_TIME")
    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public List<ClerkOutAddrBean> getClerkOutAddrTasks() {
        return clerkOutAddrTasks;
    }

    public void setClerkOutAddrTasks(List<ClerkOutAddrBean> clerkOutAddrTasks) {
        this.clerkOutAddrTasks = clerkOutAddrTasks;
    }

    public Boolean getEditable() {
        return editable;
    }

    public void setEditable(Boolean editable) {
        this.editable = editable;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

}
